package com.gqzm.iaas.component;

import lombok.*;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: {@link TaskInfo}
 * @description: TODO
 * @author: peter qin
 * @date: 2023 11 22
 * @version: 1.0
 **/
@Getter @Setter
@Builder @NoArgsConstructor
@AllArgsConstructor
public class TaskInfo implements Serializable {
    private String taskId;
    private String picPath;
    private String resultPath;
    private String status;
    private String message;
    private List<String> picNames;
    private Integer currentIndex = 0;
    private Long timestamp;
    private List<String> fails = new ArrayList<>();
}
